<?php

    // TITLE: event_detail
    // FILE: scafolding/listEventDetail.php
    // AUTHOR: AUTOGEN
    // CREATED: 2015/02/18 11:14:29
    // DESCRIPTION: 
    // REQUIREMENTS: 

?>
<table>
    <thead>
	<tr>
	    <th>title</th>
	    <th>description</th>
	    <th>interest</th>
	    <th>max_head_count</th>
	    <th>hours_duration</th>
	</tr>
    </thead>
    <tbody>
    <?php foreach ($fields as $field)  { ?>
	<tr onclick="goto('<?php echo $eventDetail->getId(); ?>');">
	    <td><?php echo $eventDetail->getTitle(); ?></td>
	    <td><?php echo $eventDetail->getDescription(); ?></td>
	    <td><?php echo $eventDetail->getInterest()->getTitle(); ?></td>
	    <td><?php echo $eventDetail->getMaxHeadCount(); ?></td>
	    <td><?php echo $eventDetail->getHoursDuration(); ?></td>
	</tr>
    <?php } ?>
    </tbody>
</table>